package com.teichmann.bo;

import java.util.HashMap;
import java.util.List;

public class History {
	private static History instance = null;

	private HashMap<String, Integer> query = new HashMap<String, Integer>();

	private History() {

	}

	public static History getInstance() {
		if (instance == null) {
			instance = new History();
		}
		return instance;
	}

	public HashMap<String, Integer> getQuery() {
		return query;
	}

	public void addQuery(final String modelo, final int size) {
		if (size > 0){
			query.put(modelo, size);
		}
	}

}
